package com.wanyangproject.androidlearning.designMode.templateMethod;

public abstract class MakeWaterBase {

    abstract void prepare();
    abstract void getResult();

    public final void make(){
        prepare();
        System.out.println("烧水。。。");
        getResult();
    }



}
